<div class="main_content" id="main_content">
	<div id="printArea" class="printArea">
		<table width="98%" name="tab_print" id="tab_print" class="tab_print" border="0" cellpadding="0" cellspacing="1" align="left">
		<tbody>
			<tr><td colspan="8" class="tab_title">设备验收</td></tr>
			<tr><td colspan="8">验收报告编号: {%$mc_auth_no%}&nbsp;&nbsp;&nbsp;&nbsp;合同编号: {%$contract_no%} </td></tr>
			<tr>
				<td>开始验收日期</td>
				<td>{%$mc_auth_start_time|date_format:"%Y-%m-%d"%}</td>
				<td>验收结束时间</td>
				<td>{%$mc_auth_end_time|date_format:"%Y-%m-%d"%}</td>
				<td colspan="4"></td>
			</tr>
			<tr>
				<td>验收报告</td>
				<td colspan="8"  class="aleft">{%$mc_auth_info%}</td>
			</tr>
			{%if $recordArr%}
			<tr class="txtbold">
				<td width="12%">序号</td>
				<td width="15%">中文名称</td>
				<td width="15%">英文名称</td>
				<td width="15%">厂家编号</td>
				<td width="10%">验收结果</td>
				<td>验收备注</td>
			</tr>
			{%foreach item=list from=$recordArr name="rec"%}
			<tr>
				<td>{%math equation="x + 1" x=$smarty.foreach.rec.index%}</td>
				<td>{%$list.mc_cn_name%}</td>
				<td>{%$list.mc_en_name%}</td>
				<td>{%$list.comp_no%}</td>
				<td>{%if $list.auth_result eq 1%}通过{%else%}不通过{%/if%}</td>
				<td>{%$list.auth_info%}</td>
			</tr>
			{%/foreach%}
			{%/if%}
		</tbody>
		</table>
	</div>
	
	<div class="btn_list">
		<span class="btn_add" onclick="doPrint()">打 印</span>
	</div>
	
</div>

<script type="text/javascript">
function doPrint() {
	$("#printArea").printArea();;
}
</script>